package com.zkthink.ceres.order.vo;

import com.zkthink.ceres.promotion.entity.Coupon;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@ApiModel("结算时优惠具体信息")
@Data
public class SettlementPromotionItemVO implements Serializable {

    @ApiModelProperty("活动id")
    private Long promotionId;

    @ApiModelProperty("满多少钱")
    private Long fullAmount;

    @ApiModelProperty("减多少钱")
    private Long discountAmount;

    @ApiModelProperty("优惠方案")
    private Integer promotionPlan;

    @ApiModelProperty("是否为优惠券")
    private int isCoupon;

    @ApiModelProperty("优惠券id")
    private Long couponId;

    @ApiModelProperty("是否已领取")
    private Integer received;

    @ApiModelProperty("优惠开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty("优惠结束时间")
    private LocalDateTime endTime;

}
